﻿using System;
using System.Collections.Generic;

namespace Infrastructure.WebApi
{

    public partial class RequestJson {


        /// <summary>
        /// 项目名称/编码
        /// </summary>
        public string Project { get; set; }

        /// <summary>
        /// 用户信息 json kv形式
        /// </summary>
        public string UserJson { get; set; }

        /// <summary>
        /// 参数集合
        /// </summary>
        public List<Request> Data { get; set; }
    }

    /// <summary>
    /// 请求数据模型
    /// </summary>
    public partial class Request
    {
        #region Property

        /// <summary>
        /// 用户(系统用户登录名)
        /// </summary>
        public string User { get; set; }

        /// <summary>
        /// 目标对象/控制器
        /// </summary>
        public string Target { get; set; }

        /// <summary>
        /// 目标操作/方法名
        /// </summary>
        public string Operation { get; set; }

        /// <summary>
        /// 提交数据(Json)
        /// </summary>
        public object Json { get; set; }

        /// <summary>
        /// 需要提交的附加信息,以键值对(Dictionary&lt;string,string&gt;)表示
        /// </summary>
        public object Extras { get; set; }

        #endregion
    }
}